package com.ffws.feign.clients;

import com.ffws.feign.po.Person;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author JC
 * @description TODO
 * @Date 2023-8-30 16:15
 * @Version 1.0
 */
@FeignClient(value = "content-service")
public interface ContentClient {

    @GetMapping("/content/person/{id}")
    Person getPersonById(@PathVariable("id") Long id);

}
